using Unity.Entities;
using UnityEngine;

namespace Kickball.Step1
{
    public struct Obstacle : IComponentData
    {
    }

    public class ObstacleAuthoring : MonoBehaviour
    {
        class Baker : Baker<ObstacleAuthoring>
        {
            public override void Bake(ObstacleAuthoring authoring)
            {
                var entity = GetEntity(TransformUsageFlags.None);
                AddComponent(entity, new Obstacle());
            }
        }
    }
}